﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007CF RID: 1999
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRndOptionScRsp : IMessage<GetRndOptionScRsp>, IMessage, IEquatable<GetRndOptionScRsp>, IDeepCloneable<GetRndOptionScRsp>, IBufferMessage
	{
		// Token: 0x1700197A RID: 6522
		// (get) Token: 0x060059C7 RID: 22983 RVA: 0x000F1C44 File Offset: 0x000EFE44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRndOptionScRsp> Parser
		{
			get
			{
				return GetRndOptionScRsp._parser;
			}
		}

		// Token: 0x1700197B RID: 6523
		// (get) Token: 0x060059C8 RID: 22984 RVA: 0x000F1C4B File Offset: 0x000EFE4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRndOptionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700197C RID: 6524
		// (get) Token: 0x060059C9 RID: 22985 RVA: 0x000F1C5D File Offset: 0x000EFE5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRndOptionScRsp.Descriptor;
			}
		}

		// Token: 0x060059CA RID: 22986 RVA: 0x000F1C64 File Offset: 0x000EFE64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRndOptionScRsp()
		{
		}

		// Token: 0x060059CB RID: 22987 RVA: 0x000F1C77 File Offset: 0x000EFE77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRndOptionScRsp(GetRndOptionScRsp other) : this()
		{
			this.bGANMDDKKNG_ = other.bGANMDDKKNG_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060059CC RID: 22988 RVA: 0x000F1CAD File Offset: 0x000EFEAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRndOptionScRsp Clone()
		{
			return new GetRndOptionScRsp(this);
		}

		// Token: 0x1700197D RID: 6525
		// (get) Token: 0x060059CD RID: 22989 RVA: 0x000F1CB5 File Offset: 0x000EFEB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BGANMDDKKNG
		{
			get
			{
				return this.bGANMDDKKNG_;
			}
		}

		// Token: 0x1700197E RID: 6526
		// (get) Token: 0x060059CE RID: 22990 RVA: 0x000F1CBD File Offset: 0x000EFEBD
		// (set) Token: 0x060059CF RID: 22991 RVA: 0x000F1CC5 File Offset: 0x000EFEC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060059D0 RID: 22992 RVA: 0x000F1CCE File Offset: 0x000EFECE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRndOptionScRsp);
		}

		// Token: 0x060059D1 RID: 22993 RVA: 0x000F1CDC File Offset: 0x000EFEDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRndOptionScRsp other)
		{
			return other != null && (other == this || (this.bGANMDDKKNG_.Equals(other.bGANMDDKKNG_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060059D2 RID: 22994 RVA: 0x000F1D2C File Offset: 0x000EFF2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.bGANMDDKKNG_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060059D3 RID: 22995 RVA: 0x000F1D79 File Offset: 0x000EFF79
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060059D4 RID: 22996 RVA: 0x000F1D81 File Offset: 0x000EFF81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060059D5 RID: 22997 RVA: 0x000F1D8C File Offset: 0x000EFF8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.bGANMDDKKNG_.WriteTo(ref output, GetRndOptionScRsp._repeated_bGANMDDKKNG_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060059D6 RID: 22998 RVA: 0x000F1DDC File Offset: 0x000EFFDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.bGANMDDKKNG_.CalculateSize(GetRndOptionScRsp._repeated_bGANMDDKKNG_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060059D7 RID: 22999 RVA: 0x000F1E30 File Offset: 0x000F0030
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRndOptionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.bGANMDDKKNG_.Add(other.bGANMDDKKNG_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060059D8 RID: 23000 RVA: 0x000F1E7D File Offset: 0x000F007D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060059D9 RID: 23001 RVA: 0x000F1E88 File Offset: 0x000F0088
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U && num != 26U)
				{
					if (num != 48U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.bGANMDDKKNG_.AddEntriesFrom(ref input, GetRndOptionScRsp._repeated_bGANMDDKKNG_codec);
				}
			}
		}

		// Token: 0x040022F3 RID: 8947
		private static readonly MessageParser<GetRndOptionScRsp> _parser = new MessageParser<GetRndOptionScRsp>(() => new GetRndOptionScRsp());

		// Token: 0x040022F4 RID: 8948
		private UnknownFieldSet _unknownFields;

		// Token: 0x040022F5 RID: 8949
		public const int BGANMDDKKNGFieldNumber = 3;

		// Token: 0x040022F6 RID: 8950
		private static readonly FieldCodec<uint> _repeated_bGANMDDKKNG_codec = FieldCodec.ForUInt32(26U);

		// Token: 0x040022F7 RID: 8951
		private readonly RepeatedField<uint> bGANMDDKKNG_ = new RepeatedField<uint>();

		// Token: 0x040022F8 RID: 8952
		public const int RetcodeFieldNumber = 6;

		// Token: 0x040022F9 RID: 8953
		private uint retcode_;
	}
}
